const util = {}
util.checkPhone = function(phone){
	if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone))){
	    return false; 
	}else{
		return true;
	}
}

util.checkExpNum = function(expNum){
	let result = false;
	if(/^[0-9]*$/.test(expNum)){
		result = true;
	}
	if(/^[A-Za-z0-9]+$/.test(expNum)){
		result = true
	}
	return result
}
export default util